function [Data, a] = ImportationDonnees( Data )
%Importer données du premier capteur
%   Detailed explanation goes here
    [fname, pathname] = uigetfile('C:\Users\Margaux\Desktop\axiamo\Storage\Exports\*.m;*.csv;*.mat','MATLAB Files');
    fpath = strcat(pathname,fname);

    M = dlmread(fpath,'\t',9,3);
                                                                                                                         
    AccX = transpose(M(:,1));
    AccY = transpose(M(:,2));
    AccZ = transpose(M(:,3));
    GyrX = transpose(M(:,4));
    GyrY = transpose(M(:,5));
    GyrZ = transpose(M(:,6));
    MagX = transpose(M(:,7));
    MagY = transpose(M(:,8));
    MagZ = transpose(M(:,9));
   
    prompt = 'Numéro du capteur?';
    a=inputdlg(prompt,'s');
    a=str2num(a{1});
    
    Data.Capteur(a).base.Acc.MX = AccX;
    Data.Capteur(a).base.Acc.MY = AccY;
    Data.Capteur(a).base.Acc.MZ = AccZ;
    Data.Capteur(a).base.Gyr.MX = GyrX;
    Data.Capteur(a).base.Gyr.MY = GyrY;
    Data.Capteur(a).base.Gyr.MZ = GyrZ;
    Data.Capteur(a).base.Mag.MX = MagX;
    Data.Capteur(a).base.Mag.MY = MagY;
    Data.Capteur(a).base.Mag.MZ = MagZ;

end